// Output.h: interface for the COutput class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OUTPUT_H__D3B2C916_1422_4251_8734_124A8C3AFC23__INCLUDED_)
#define AFX_OUTPUT_H__D3B2C916_1422_4251_8734_124A8C3AFC23__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <string>

using namespace std;

class CMsgListview;

class COutput  
{
public:
	void TextOut(const char* s);
	void TextOut(string s);
	COutput();
	virtual ~COutput();


	COutput& operator<<(const char* s);
	COutput& operator<<(const string& s);

	void SetView(CMsgListview* pView) { m_pView = pView; };

private:
	CMsgListview* m_pView;
};

#endif // !defined(AFX_OUTPUT_H__D3B2C916_1422_4251_8734_124A8C3AFC23__INCLUDED_)
